<!DOCTYPE html>
<html>
    <head>
        <title>requestAnimationFrame</title>
        <script src="../../src/request/index.js"></script>
    </head>
    <body>
        <script>
            axios({
                method: 'POST',
                url: 'http://127.0.0.1',
                params: {
                    a: 100,
                    b: 200
                },
                data: {
                    c: 300,
                    d: 400
                }
            })

            axios.get('http://127.0.0.1', {
                params: {
                    a: 100,
                    b: 200
                }
            }).then(response => {
                console.log(response)
            })

            axios.post('http://127.0.0.1', {
                a: 100,
                b: 200
            }).then(response => {
                console.log(response)
            })

            axios.put('http://127.0.0.1', {
                a: 100,
                b: 200
            }).then(response => {
                console.log(response)
            })

            axios.delete('http://127.0.0.1', {
                params: {
                    a: 100,
                    b: 200
                }
            }).then(response => {
                console.log(response)
            })
        </script>
    </body>
</html>